package com.xyh.flowershop.vo.resp.type;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author 小约翰可汗
 * @className TypePageRespVo
 * @createTime 2024/4/221:18
 */
@Data
public class TypePageRespVo {

    @Schema(description = "分类编号")
    private String typeId;

    @Schema(description = "分类名称")
    private String typeName;

    @Schema(description = "是否有子节点")
    private Boolean haveChild;

    @Schema(description = "分类图片地址")
    private String typeImgUrl;

    @Schema(description = "父级类型编号")
    private String parentTypeId;

    @Schema(description = "子节点列表")
    private List<TypePageRespVo> children;
}
